package com.jihu.sharding.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jihu.sharding.entity.Course;
import org.apache.ibatis.annotations.Update;

public interface CourseMapper extends BaseMapper<Course> {

    @Update("Update course set cname = #{cname} where cid = #{cid}")
    void updateCNameByCid(Long cid, String cname);
}
